import turtle
turtle.setup(1000, 800, 150, 20)
for i in range(100):
    for j in range(3):
        turtle.seth(90*i*5+90)
        turtle.fd(i+1)
    # turtle.seth(90 * 5 * i + 90)
    # turtle.fd(i+1)
    turtle.fd(1)

